<body>
<br />
	<form action="personFrei" method="post">
		<input type="hidden" name="Formularname" value="person" >
		<table border="1">
			<tr>
				<th>Name</th>
				<th>e-Mail</th>
				<th>Gewerkschaft</th>
			</tr>
			<!-- Wenn keine Person da ist, dann das Formular anders darstellen -->
			{foreach $personen as $person}
			<tr>
				<td>{$person[2]} {$person[1]}</td>
				<td>{$person[3]}</td>
				<td>{$person[4]}</td>
				<td><input type="checkbox" name="personen[]" value="{$person[0]}"/></td>
			</tr>
			{/foreach}
			<tr>
				<td>
					<select name="optionPerson">
						<option value="aktivieren">aktivieren</option>
						<option value="deaktivieren">l&ouml;schen</option>
					</select>
				</td>
				<td>
					<input type="submit" value="absenden">
				</td>
			</tr>
		</table>
	</form>
</body>

